import React, { useEffect, useRef, useState } from "react";
import "./Hero.css";
import axios from "axios";
import Search from "./Search";
import List from "./List";
// 接口地址: http://api.xiaohigh.com/heros
// 接口地址: http://api.xiaohigh.com/heros?name_like=李
export default function Hero() {
  return (
    <div className="hero-container">
      <h2>王者荣耀</h2>
      <hr />
      <Search />
      <hr />
      <List />
    </div>
  );
}
